const path = require("path")

const express = require("express")
const history = require("connect-history-api-fallback")

const app = express()

app.use(history())
app.use(express.static(path.join(__dirname, "../my-router/dist")))

app.listen(3000, () => {
    console.log("服务器启动成功")
})